<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style type="text/css">
    /**标题占一行**/
    .titleP {text-align:center;}
    .titleR {text-align:right;}
    /**P标签相关的内容**/
    .contentDiv {margin-left: 15%;}
    .contentRDiv {margin: 0;font-weight: 600;}
    .contentRDiv p{margin-top:2px;margin-bottom:2px;}

    /**标题样式**/
    .unitTitle {font-size:14.0pt;line-height:150%;font-family:宋体;letter-spacing:2.0pt;font-weight: 600;}
    .mainTitle {font-size:26.0pt;font-family:宋体;letter-spacing:22.7pt;font-weight: 900;}
    .subTitle {font-weight:600;padding-right:30px}

    /**分割线样式**/
    .hline {border-top: solid 1px gray;height: 20px;margin-left: 7px;margin-right: 7px;}

    /**空行10px高**/
    .blankRow10 {height: 10px}
    /**空行20px高**/
    .blankRow20 {height: 20px}
    /**空行30px高**/
    .blankRow30 {height: 30px}

    .line-title {
      font-size: 16px;
      font-weight: bold;
      line-height: 1px;
      color: #5D9586;
      margin-left: 7px;
    }

    /**第一个表格样式**/
    .tableA {text-align:center;width: 100%;margin-left: 0%;margin-right: 0%;}
    .tableA tr>td:nth-child(1),.tableA tr>td:nth-child(3) { width:18%;text-align: right;}
    .tableA tr>td:nth-child(2),.tableA tr>td:nth-child(4)  { width:32%;text-align: left;padding-left: 20px;}

    /**数据表格样式**/
    .dataTable {text-align:center;width: 100%;padding-left: 20px;padding-right: 20px;border-spacing:0px}
    .dataTable th {border-top: solid 1px black ;border-bottom: solid 1px black; }

    .endContentDiv {margin-left: 15%;position:relative}
    /**印章div**/
    .sealDiv{position: absolute;top: -300%; float: right;width: 100%;}
    .sealDiv img{width: 31%; height: 31%;float: right;}

    .formtpl{border: black 1px solid;}
  </style>
</head>


<body lang=ZH-CN >

<div>

  <p class="titleP">
    <span class="unitTitle"></span>
  </p>

  <p  class="titleP">
    <span class="mainTitle">账单审核</span>
  </p>

  <p  class="titleR">
    <span class="subTitle">提审人:${applyUserName! "-"}&nbsp;&nbsp;&nbsp;提审时间:${applyDateTime! "-"}&nbsp;&nbsp;&nbsp;待审单据数:${busNums! "-"}</span>
  </p>

  <!--<div class="contentRDiv">
      <p>YNCDC/QR-JCS（BMYY）-2022-0525</p>
  </div>

  <div class="hline"></div>-->
  <#if dataList?exists>
    <#list dataList as obj>
      <form class="formtpl">
        <p  class="titleP">
                <span class="unitTitle">
                    NO:${obj.contExpBillNo! "-"}
                </span>
        </p>
        <div class="blankRow10"></div>

        <p class="line-title">账单信息</p>

        <div class="hline"></div>
        <table class="tableA" >
          <tr>
            <td >账单年月:</td>
            <td >${obj.settlementPeriod! "-"}</td>
            <td >总金额(元):</td>
            <td>${obj.contExpAmount! "-"}</td>
          </tr>
          <tr>
            <td >合同编号:</td>
            <td >${obj.contNo! "-"}</td>
            <td >门店名称:</td>
            <td>${obj.customerName! "-"}</td>
          </tr>
          <tr>
            <td >摊位名称:</td>
            <td >${obj.stallName! "-"}</td>
            <td >客商编号:</td>
            <td>${obj.customerCode! "-"}</td>
          </tr>
          <tr>
            <td >客商名称:</td>
            <td >${obj.customerName! "-"}</td>
            <td >客商编号:</td>
            <td>${obj.merchantCode! "-"}</td>
          </tr>

        </table>

        <div class="blankRow20"></div>

        <p class="line-title">账单费用明细</p>
        <div class="hline"></div>
        <table class="dataTable" >
          <tr>
            <th>费用项目</th>
            <th>记账类型</th>
            <th>金额(元)</th>
          </tr>
          <#if obj.contExpDtlList?exists>
          <#list obj.contExpDtlList as dtl>
            <tr>
              <td>${dtl.contExpItemName! "-"}</td>
              <td>${dtl.paymentTypeValCn! "-"}</td>
              <td>${dtl.contExpAmount! "-"}</td>
            </tr>
          </#list>
          </#if>
        </table>



        <div class="blankRow20"></div>
      </form>

      <div class="blankRow20"></div>
      <div class="blankRow20"></div>

  </#list>
  </#if>







</div>

</body>
</html>